/*
 * Copyright 2011 Dominik Pretzsch <dominik.pretzsch at gmail.com>.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package de.blacksheep.jmoteextract.remote;

import java.io.Serializable;

/**
 * <code>RemoteArchive</code> is a serializable representation of a <br>
 * remote archive. It holds basic information about the <br>
 * archive referenced. With this information the <br>
 * <code>RemoteServer</code> is able to instantiate a real <code>Archive</code>. <br>
 * 
 * @author Dominik Pretzsch <dominik.pretzsch at gmail.com>
 * @see RemoteServer
 * @see Archive
 */
public class RemoteArchive implements Serializable {
    
    /**
     * The UNC name of the remote archive.
     */
    private String nameUNC = null;
    
    /**
     * The name of the drive where the remote archive is located.
     * 
     * @deprecated This value might not be included in further versions.
     */
    private String nameDRV = null;
    
    /**
     * The local machine's name or IP address
     * 
     * @deprecated This value might not be included in further versions.
     */
    private String machineLocal = null;
    
    /**
     * The remote machine's name or IP address
     * 
     * @deprecated This value might not be included in further versions.
     */
    private String machineRemote = null;
    
    /**
     * The UNC name of the remote archive.
     * 
     * @return String   UNC name.
     */
    public String getNameUNC() {
        return this.nameUNC;
    }
    
    /**
     * The drive's name where the remote archive is located.
     * 
     * @return String   Drive name.
     * @deprecated This function might not be included in further versions.
     */
    public String getNameDRV() {
        return this.nameDRV;
    }
    
    /**
     * Set the UNC name of the remote archive.
     * 
     * @param nameUNC   The UNC name.
     */
    public void setPathUNC(String nameUNC) {
        this.nameUNC = nameUNC;
    }
    
    /**
     * Set the drive's name where the remote archive is located.
     * 
     * @param nameDRV   The drive's name.
     * @deprecated This function might not be included in further versions.
     */
    public void setNameDRV(String nameDRV) {
        this.nameDRV = nameDRV;
    }
}
